/**
 * Created by Administrator on 2014/11/20 0020.
 */
(function () {
    var UNIT = {Meters: "米", Kilometre: "公里"};
    var numberFormat = function (value) {
        if (!value) {
            return 0;
        }
        var num = new Number(value);
        num = num.toFixed(3);
        return num;
    };
    var dzdtAppConfig = {
        mapChangeKeepExtent: true,//地图切换后是否保留原有位置
        maps: [
            {
                mapUrl: "http://211.101.37.251:6080/arcgis/rest/services/SXGXPTMAPdyone/MapServer",
                label: "陕西电子地图",
                initExtent: {
                    wkid: "4326",
                    xmin: 111.19553484679587,
                    ymin: 25.171683748224833,
                    xmax: 119.19926544491072,
                    ymax: 29.55088295994239

                }
            },
            {
                mapUrl: "http://211.101.37.251:6080/arcgis/rest/services/SHANXI_GGJ/MapServer",
                label: "陕西电子地图(周边)",
                initExtent: {
                    wkid: "4326",
                    xmin: 102.85915144689929,
                    ymin: 29.429479961084557,
                    xmax: 116.53816569247635,
                    ymax: 40.07462723390718
                }
            }
        ],
        customInfoWindows: [],
        //公司陕西地址http://211.101.37.251:6080/arcgis/rest/services/LH/CXFW1214/MapServer
        defaultQueryService: "http://211.101.37.251:6080/arcgis/rest/services/LH/SXCXFW/MapServer",
        geometryService: "http://211.101.37.251:6080/arcgis/rest/services/Utilities/Geometry/GeometryServer",
        /**
         * 数据访问更新服务
         * 例如陕西公司：http://211.101.37.253:7002/mapdata/
         * 陕西地址：http://10.228.2.73:7006/mapdata
         */
        mapDataService: "http://211.101.37.253:7002/mapdata/",
        /**
         * 路径分析服务
         * 例如：http://211.101.37.253:7002/network/
         * 陕西地址：http://10.228.2.73:7006/network/
         * 江西公司：http://211.101.37.253:8001/GeocodeForJX
         */
        netWorkService: "http://211.101.37.253:7002/network/",
        /**
         * 地址编码服务
         * 例如陕西公司：http://211.101.37.253:7002/geocode/
         * 陕西地址：http://10.228.2.73:7006/geocode/
         */
        geocodeService: "http://211.101.37.253:7002/geocode/",
        currentNavParams: {
            headMenu: "公路专题",
            QueryStatistics: "查询",
            text: "默认"
        },
        widgetsConfig: {
            "公路专题": {
                "查询": [
                    {
                        label: "默认",
                        type: "dzdtApp/layout/glzt/cx/navWidget"
                    },
                    {
                        "label": "路线",
                        "type": "dzdtApp/layout/glzt/cx/lx/lxscx/lxscxWidget"
                    },
                    {
                        "label": "路线条件查询",
                        "type": "dzdtApp/layout/glzt/cx/lx/lx_list/lx_listWidget"
                    },
                    {
                        "label": "路线树点击路线详情",
                        "type": "dzdtApp/layout/glzt/cx/lx/lxxq/lxxqWidget"
                    },
                    {
                        "label": "路线树点击路段详情",
                        "type": "dzdtApp/layout/glzt/cx/lx/ldxq/ldxqWidget"
                    },
                    {
                        "label": "路线树点击路段详情",
                        "type": "dzdtApp/layout/glzt/cx/lx/ldxq/ldxqWidget"
                    },
                    {
                        "label": "路线统计",
                        "type": "dzdtApp/layout/glzt/cx/lx/lxtj/lxtjWidget"
                    },
                    {
                        "label": "桥梁",
                        "type": "dzdtApp/layout/glzt/cx/structure/ql/lxscx/lxscxWidget"
                    },
                    {
                        "label": "路线树点击路线桥梁",
                        "type": "dzdtApp/layout/glzt/cx/structure/ql/cxjg/cxjgWidget"
                    },
                    {
                        "label": "路线树点击桥梁详情",
                        "type": "dzdtApp/layout/glzt/cx/structure/ql/cxjg/cxxqWidget"
                    },
                    {
                        "label": "隧道",
                        "type": "dzdtApp/layout/glzt/cx/structure/sd/lxscx/lxscxWidget"
                    },
                    {
                        "label": "路线树点击路线隧道",
                        "type": "dzdtApp/layout/glzt/cx/structure/sd/cxjg/cxjgWidget"
                    },
                    {
                        "label": "路线树点击隧道详情",
                        "type": "dzdtApp/layout/glzt/cx/structure/sd/cxjg/cxxqWidget"
                    },
                    {
                        "label": "收费站",
                        "type": "dzdtApp/layout/glzt/cx/structure/sfz/lxscx/lxscxWidget"
                    },
                    {
                        "label": "路线树点击路线收费站",
                        "type": "dzdtApp/layout/glzt/cx/structure/sfz/cxjg/cxjgWidget"
                    },
                    {
                        "label": "路线树点击收费站详情",
                        "type": "dzdtApp/layout/glzt/cx/structure/sfz/cxjg/cxxqWidget"
                    },
                    {
                        "label": "服务区",
                        "type": "dzdtApp/layout/glzt/cx/structure/fwq/lxscx/lxscxWidget"
                    },
                    {
                        "label": "路线树点击路线服务区",
                        "type": "dzdtApp/layout/glzt/cx/structure/fwq/cxjg/cxjgWidget"
                    },
                    {
                        "label": "路线树点击服务区详情",
                        "type": "dzdtApp/layout/glzt/cx/structure/fwq/cxjg/cxxqWidget"
                    },
                    {
                        "label": "出入口",
                        "type": "dzdtApp/layout/glzt/cx/structure/crk/lxscx/lxscxWidget"
                    },
                    {
                        "label": "路线树点击路线出入口",
                        "type": "dzdtApp/layout/glzt/cx/structure/crk/cxjg/cxjgWidget"
                    },
                    {
                        "label": "路线树点击出入口详情",
                        "type": "dzdtApp/layout/glzt/cx/structure/crk/cxjg/cxxqWidget"
                    },
                    {
                        "label": "治超站",
                        "type": "dzdtApp/layout/glzt/cx/structure/zcz/lxscx/lxscxWidget"
                    },
                    {
                        "label": "路线树点击路线治超站",
                        "type": "dzdtApp/layout/glzt/cx/structure/zcz/cxjg/cxjgWidget"
                    },
                    {
                        "label": "路线树点击治超站详情",
                        "type": "dzdtApp/layout/glzt/cx/structure/zcz/cxjg/cxxqWidget"
                    },
                    {
                        "label": "交通量观测站",
                        "type": "dzdtApp/layout/glzt/cx/structure/jtlgcz/lxscx/lxscxWidget"
                    },
                    {
                        "label": "路线树点击路线观测站",
                        "type": "dzdtApp/layout/glzt/cx/structure/jtlgcz/cxjg/cxjgWidget"
                    },
                    {
                        "label": "路线树点击观测站详情",
                        "type": "dzdtApp/layout/glzt/cx/structure/jtlgcz/cxjg/cxxqWidget"
                    },
                    {
                        "label": "可变情报板",
                        "type": "dzdtApp/layout/glzt/cx/structure/kbqbb/lxscx/lxscxWidget"
                    },
                    {
                        "label": "路线树点击路线情报板",
                        "type": "dzdtApp/layout/glzt/cx/structure/kbqbb/cxjg/cxjgWidget"
                    },
                    {
                        "label": "路线树点击情报板详情",
                        "type": "dzdtApp/layout/glzt/cx/structure/kbqbb/cxjg/cxxqWidget"
                    },
                    {
                        "label": "监控摄像设备",
                        "type": "dzdtApp/layout/glzt/cx/structure/jksxsb/lxscx/lxscxWidget"
                    },
                    {
                        "label": "路线树点击路线监控摄像设备",
                        "type": "dzdtApp/layout/glzt/cx/structure/jksxsb/cxjg/cxjgWidget"
                    },
                    {
                        "label": "路线树点击监控摄像设备详情",
                        "type": "dzdtApp/layout/glzt/cx/structure/jksxsb/cxjg/cxxqWidget"
                    },
                    {
                        "label": "标志标牌",
                        "type": "dzdtApp/layout/glzt/cx/structure/bzbp/lxscx/lxscxWidget"
                    },
                    {
                        "label": "路线树点击路线标志标牌",
                        "type": "dzdtApp/layout/glzt/cx/structure/bzbp/cxjg/cxjgWidget"
                    },
                    {
                        "label": "路线树点击标志标牌详情",
                        "type": "dzdtApp/layout/glzt/cx/structure/bzbp/cxjg/cxxqWidget"
                    },
                    {
                        "label": "统计",
                        "type": "dzdtApp/layout/roadlineTj/queryCondition/queryConditionWidget"
                    }
                ],
                "统计": [
                    {
                        label: "默认",
                        type: "dzdtApp/layout/glzt/tj/tjNavWidget"
                    },
                    {
                        label: "路线",
                        type: "dzdtApp/layout/glzt/tj/roadlineTj/queryCondition/queryConditionWidget"
                    },
                    {
                        label: "路线统计条件查询结果",
                        type: "dzdtApp/layout/glzt/tj/roadlineTj/queryConditionResult/queryConditionResultWdiget"
                    },
                    {
                        label: "路线结果列表",
                        type: "dzdtApp/layout/glzt/tj/roadlineTj/queryList/queryListWidget"
                    },
                    {
                        label: "路线详情",
                        type: "dzdtApp/layout/glzt/tj/roadlineTj/showDetail/showDetailWidget"
                    },
                    {
                        label: "桥梁",
                        type: "dzdtApp/layout/glzt/tj/structure/ql/queryCondition/queryConditionWidget"
                    },
                    {
                        label: "桥梁统计条件查询结果",
                        type: "dzdtApp/layout/glzt/tj/structure/ql/queryConditionResult/queryConditionResultWidget"
                    },
                    {
                        label: "桥梁结果列表",
                        type: "dzdtApp/layout/glzt/tj/structure/ql/queryList/queryListWidget"
                    },
                    {
                        label: "桥梁详情",
                        type: "dzdtApp/layout/glzt/tj/structure/ql/showDetail/showDetailWidget"
                    },
                    {
                        label: "隧道",
                        type: "dzdtApp/layout/glzt/tj/structure/sd/queryCondition/queryConditionWidget"
                    },
                    {
                        label: "隧道统计条件查询结果",
                        type: "dzdtApp/layout/glzt/tj/structure/sd/queryConditionResult/queryConditionResultWidget"
                    },
                    {
                        label: "隧道结果列表",
                        type: "dzdtApp/layout/glzt/tj/structure/sd/queryList/queryListWidget"
                    },
                    {
                        label: "隧道详情",
                        type: "dzdtApp/layout/glzt/tj/structure/sd/showDetail/showDetailWidget"
                    },
                    {
                        label: "收费站",
                        type: "dzdtApp/layout/glzt/tj/structure/sfz/queryCondition/queryConditionWidget"
                    },
                    {
                        label: "收费站统计条件查询结果",
                        type: "dzdtApp/layout/glzt/tj/structure/sfz/queryConditionResult/queryConditionResultWidget"
                    },
                    {
                        label: "收费站结果列表",
                        type: "dzdtApp/layout/glzt/tj/structure/sfz/queryList/queryListWidget"
                    },
                    {
                        label: "收费站详情",
                        type: "dzdtApp/layout/glzt/tj/structure/sfz/showDetail/showDetailWidget"
                    },
                    {
                        label: "出入口",
                        type: "dzdtApp/layout/glzt/tj/structure/crk/queryCondition/queryConditionWidget"
                    },
                    {
                        label: "出入口统计条件查询结果",
                        type: "dzdtApp/layout/glzt/tj/structure/crk/queryConditionResult/queryConditionResultWidget"
                    },
                    {
                        label: "出入口结果列表",
                        type: "dzdtApp/layout/glzt/tj/structure/crk/queryList/queryListWidget"
                    },
                    {
                        label: "出入口详情",
                        type: "dzdtApp/layout/glzt/tj/structure/crk/showDetail/showDetailWidget"
                    },
                    {
                        label: "服务区",
                        type: "dzdtApp/layout/glzt/tj/structure/fwq/queryCondition/queryConditionWidget"
                    },
                    {
                        label: "服务区统计条件查询结果",
                        type: "dzdtApp/layout/glzt/tj/structure/fwq/queryConditionResult/queryConditionResultWidget"
                    },
                    {
                        label: "服务区结果列表",
                        type: "dzdtApp/layout/glzt/tj/structure/fwq/queryList/queryListWidget"
                    },
                    {
                        label: "服务区详情",
                        type: "dzdtApp/layout/glzt/tj/structure/fwq/showDetail/showDetailWidget"
                    },
                    {
                        label: "治超站",
                        type: "dzdtApp/layout/glzt/tj/structure/zcz/queryCondition/queryConditionWidget"
                    },
                    {
                        label: "治超站统计条件查询结果",
                        type: "dzdtApp/layout/glzt/tj/structure/zcz/queryConditionResult/queryConditionResultWidget"
                    },
                    {
                        label: "治超站结果列表",
                        type: "dzdtApp/layout/glzt/tj/structure/zcz/queryList/queryListWidget"
                    },
                    {
                        label: "治超站详情",
                        type: "dzdtApp/layout/glzt/tj/structure/zcz/showDetail/showDetailWidget"
                    },
                    {
                        label: "交通量观测站",
                        type: "dzdtApp/layout/glzt/tj/structure/jtlgcz/queryCondition/queryConditionWidget"
                    },
                    {
                        label: "交通量观测站统计条件查询结果",
                        type: "dzdtApp/layout/glzt/tj/structure/jtlgcz/queryConditionResult/queryConditionResultWidget"
                    },
                    {
                        label: "交通量观测站结果列表",
                        type: "dzdtApp/layout/glzt/tj/structure/jtlgcz/queryList/queryListWidget"
                    },
                    {
                        label: "交通量观测站详情",
                        type: "dzdtApp/layout/glzt/tj/structure/jtlgcz/showDetail/showDetailWidget"
                    },
                    {
                        label: "可变情报板",
                        type: "dzdtApp/layout/glzt/tj/structure/kbqbb/queryCondition/queryConditionWidget"
                    },
                    {
                        label: "可变情报板统计条件查询结果",
                        type: "dzdtApp/layout/glzt/tj/structure/kbqbb/queryConditionResult/queryConditionResultWidget"
                    },
                    {
                        label: "可变情报板结果列表",
                        type: "dzdtApp/layout/glzt/tj/structure/kbqbb/queryList/queryListWidget"
                    },
                    {
                        label: "可变情报板详情",
                        type: "dzdtApp/layout/glzt/tj/structure/kbqbb/showDetail/showDetailWidget"
                    },
                    {
                        label: "监控摄像设备",
                        type: "dzdtApp/layout/glzt/tj/structure/jksxsb/queryCondition/queryConditionWidget"
                    },
                    {
                        label: "监控摄像设备统计条件查询结果",
                        type: "dzdtApp/layout/glzt/tj/structure/jksxsb/queryConditionResult/queryConditionResultWidget"
                    },
                    {
                        label: "监控摄像设备结果列表",
                        type: "dzdtApp/layout/glzt/tj/structure/jksxsb/queryList/queryListWidget"
                    },
                    {
                        label: "监控摄像设备详情",
                        type: "dzdtApp/layout/glzt/tj/structure/jksxsb/showDetail/showDetailWidget"
                    },
                    {
                        label: "统计",
                        type: "dzdtApp/layout/roadlineTj/queryCondition/queryCondition.html"
                    }
                ]
            },
            "运管专题": {
                "查询": [
                    {
                        "label": "默认",
                        "type": "dzdtApp/layout/ygzt/cx/ygnavWidget"
                    },
                    {
                        "label": "客运站点",
                        "type": "dzdtApp/layout/ygzt/cx/kyzd/kyzdWidget"
                    },
                    {
                        "label": "货运站点",
                        "type": "dzdtApp/layout/ygzt/cx/hyzd/hyzdWidget"
                    },
                    {
                        "label": "车辆维修企业",
                        "type": "dzdtApp/layout/ygzt/cx/clwxqy/clwxqyWidget"
                    },
                    {
                        "label": "驾培机构",
                        "type": "dzdtApp/layout/ygzt/cx/jpjg/jpjgWidget"
                    },
                    {
                        "label": "客运班线",
                        "type": "dzdtApp/layout/ygzt/cx/kybx/kybxWidget"
                    },
                    {
                        "label": "货运装载源头企业",
                        "type": "dzdtApp/layout/ygzt/cx/hyzzytqy/hyzzytqyWidget"
                    },
                    {
                        "label": "常规公共汽车运营线路",
                        "type": "dzdtApp/layout/ygzt/cx/cggzqcyyxl/cggzqcyyxlWidget"
                    },
                    {
                        "label": "常规公共汽车运营站点",
                        "type": "dzdtApp/layout/ygzt/cx/cggzqcyyzd/cggzqcyyzdWidget"
                    },
                    {
                        "label": "公共电汽车停车保养场",
                        "type": "dzdtApp/layout/ygzt/cx/ggdqctcbyc/ggdqctcbycWidget"
                    },
                    {
                        "label": "城市轨道交通运营线路",
                        "type": "dzdtApp/layout/ygzt/cx/csgdjtyyxl/csgdjtyyxlWidget"
                    },
                    {
                        "label": "城市轨道交通运营站点",
                        "type": "dzdtApp/layout/ygzt/cx/csgdjtyyzd/csgdjtyyzdWidget"
                    },
                    {
                        "label": "出租车停靠点",
                        "type": "dzdtApp/layout/ygzt/cx/czctkd/czctkdWidget"
                    },
                ]
            },
            "航运专题": {
                "查询": [
                    {
                        "label": "默认",
                        "type": "dzdtApp/layout/ghzt/cx/ghNavWidget"
                    },
                    {
                        "label": "内河航道",
                        "type": "dzdtApp/layout/ghzt/cx/nhhd/nhhdWidget"
                    },
                    {
                        "label": "重点渡口",
                        "type": "dzdtApp/layout/ghzt/cx/zddk/zddkWidget"
                    },
                    {
                        "label": "码头",
                        "type": "dzdtApp/layout/ghzt/cx/mt/mtWidget"
                    },
                    {
                        "label": "港口",
                        "type": "dzdtApp/layout/ghzt/cx/gk/gkWidget"
                    }
                ]
            },
            "路政专题": {
                "查询": [
                    {
                        "label": "默认",
                        "type": "dzdtApp/layout/lzzt/cx/lzNavWidget"
                    },
                    {
                        "label": "地面构筑物",
                        "type": "dzdtApp/layout/lzzt/cx/dmgzw/dmgzwWidget"
                    },
                    {
                        "label": "非公路标志",
                        "type": "dzdtApp/layout/lzzt/cx/fglbz/fglbzWidget"
                    },
                    {
                        "label": "广告牌",
                        "type": "dzdtApp/layout/lzzt/cx/ggp/ggpWidget"
                    },
                    {
                        "label": "治超站",
                        "type": "dzdtApp/layout/lzzt/cx/gxzcz/gxzczWidget"
                    },
                    {
                        "label": "跨越公路设施",
                        "type": "dzdtApp/layout/lzzt/cx/kyglss/kyglssWidget"
                    },
                    {
                        "label": "执法部门",
                        "type": "dzdtApp/layout/lzzt/cx/zfbm/zfbmWidget"
                    }
                ]
            },
            "路径分析": {
                "查询": [
                    {
                        label: "默认",
                        type: "dzdtApp/layout/glzt/ljfx/ljfxtj/NetworkAnalysis"
                    },
                    {
                        "label": "分析结果",
                        "type": "dzdtApp/layout/glzt/ljfx/ljfxjg/NetworkAnalysisResult"
                    }
                ]
            },
            "POI查询": {
                "查询": [
                    {
                        label: "默认",
                        type: "dzdtApp/layout/glzt/cx/poi/cxjgWidget"
                    },
                    {
                        "label": "分析结果",
                        "type": "dzdtApp/layout/glzt/cx/poi/cxjgWidget"
                    }
                ]
            },
            "数据分析": {
                "查询": [{
                    label: "默认",
                    type: "dzdtApp/layout/dataAnalyze/sjfxWdiget"
                }]
            },
            "路线查询": {
                "查询": [{
                    label: "默认",
                    type: "dzdtApp/layout/glzt/cx/lx/dtzs/dtzsWidget"
                }]
            }
        },

        /**
         * 级别格式化函数
         */
        pddjFormat: function (level) {
            if (level == "1") {
                return "一类";
            } else if (level == "2") {
                return "二类";
            } else if (level == "3") {
                return "三类";
            } else if (level == "4") {
                return "四类";
            } else if (level == "5") {
                return "五类";
            } else if (level == "99") {
                return "其它";
            }
            return level;
        },
        jsdjFormat: function (level) {
            if (level == "10") {
                return "高速公路";
            } else if (level == "11") {
                return "一级公路";
            } else if (level == "12") {
                return "二级公路";
            } else if (level == "13") {
                return "三级公路";
            } else if (level == "14") {
                return "四级公路";
            } else if (level == "30") {
                return "等外公路";
            } else if (level == "99") {
                return "其它";
            }
            return level;
        },
        xddjFormat: function (level) {
            if (level == "10") {
                return "高速公路";
            } else if (level == "11") {
                return "一级公路";
            } else if (level == "12") {
                return "二级公路";
            } else if (level == "13") {
                return "三级公路";
            } else if (level == "14") {
                return "四级公路";
            } else if (level == "30") {
                return "等外公路";
            } else if (level == "99") {
                return "其它";
            }
            return level;
        },
        /**
         * 级别格式化函数
         */
        levelFormat: function (level) {
            if (level == "1") {
                return "公路Ⅰ级";
            } else if (level == "2") {
                return "公路Ⅱ级";
            } else if (level == "3") {
                return "汽车-超20级";
            } else if (level == "4") {
                return "汽车-20级";
            } else if (level == "5") {
                return "汽车-15级";
            }
            else if (level == "6") {
                return "汽车-13级";
            }
            else if (level == "7") {
                return "汽车-10级";
            }
            else if (level == "9") {
                return "低于汽车-10级";
            }
            return level;
        },
        /**
         * 1    永久性
         2    半永久性
         3    临时性
         */
        yearTypeFormat: function (yearType) {
            if (yearType == "1") {
                return "永久性";
            } else if (yearType == "2") {
                return "半永久性"
            } else if (yearType == "3") {
                return "临时性";
            }
            return yearType;
        },
        crkTypeFormat: function (yearType) {
            if (yearType == "1") {
                return "出口";
            } else if (yearType == "2") {
                return "入口"
            } else if (yearType == "3") {
                return "出入口";
            } else if (yearType == "4") {
                return "匝道";
            }
            return yearType;
        },
        fwqTypeFormat: function (yearType) {
            if (yearType == "1") {
                return "高速公路服务区";
            } else if (yearType == "2") {
                return "一般公路服务区"
            }
            return yearType;
        },
        jksxsblxTypeFormat: function (yearType) {

            if (yearType == "21") {
                return "路段摄像机";
            } else if (yearType == "22") {
                return "收费广场摄像机"
            } else if (yearType == "23") {
                return "隧道内摄像机"
            } else if (yearType == "99") {
                return "其它"
            }
            return yearType;
        },

        sbsyztTypeFormat: function (yearType) {
            if (yearType == "1") {
                return "运行良好"
            } else if (yearType == "2") {
                return "经常性故障"
            } else if (yearType == "3") {
                return "废弃"
            } else if (yearType == "99") {
                return "其它"
            }
            return yearType;
        },
        gclxTypeFormat: function (yearType) {
            if (yearType == "1") {
                return "连续式"
            } else if (yearType == "2") {
                return "间歇式"
            } else if (yearType == "3") {
                return "交调设备"
            } else if (yearType == "4") {
                return "交掉"
            } else if (yearType == "5") {
                return "微波（2类）"
            } else if (yearType == "6") {
                return "比重"
            } else if (yearType == "99") {
                return "其它"
            }
            return yearType;
        },
        gcfxTypeFormat: function (yearType) {
            if (yearType == "1") {
                return "单向4车道"
            } else if (yearType == "2") {
                return "单向5车道"
            } else if (yearType == "3") {
                return "双向"
            } else if (yearType == "4") {
                return "双向6车道"
            } else if (yearType == "5") {
                return "双向8车道"
            } else if (yearType == "99") {
                return "其它"
            }
            return yearType;
        },
        qbbTypeFormat: function (yearType) {
            if (yearType == "31") {
                return "立柱式情报板"
            } else if (yearType == "32") {
                return "门架式情报板"
            } else if (yearType == "33") {
                return "悬臂式情报板"
            } else if (yearType == "34") {
                return "服务区信息屏"
            } else if (yearType == "99") {
                return "其它"
            }
            return yearType;
        },
        sdflTypeFormat: function (yearType) {
            if (yearType == "1") {
                return "特长隧道"
            } else if (yearType == "2") {
                return "长隧道"
            } else if (yearType == "3") {
                return "中隧道"
            } else if (yearType == "4") {
                return "短隧道"
            } else if (yearType == "99") {
                return "其它"
            }
            return yearType;
        },
        sfzlxTypeFormat: function (yearType) {
            if (yearType == "1") {
                return "高速公路"
            } else if (yearType == "2") {
                return "一般公路"
            } else if (yearType == "3") {
                return "桥梁"
            } else if (yearType == "4") {
                return "隧道"
            } else if (yearType == "5") {
                return "渡口"
            } else if (yearType == "6") {
                return "匝道"
            } else if (yearType == "99") {
                return "其它"
            }
            return yearType;
        },
        zczjbTypeFormat: function (yearType) {
            if (yearType == "1") {
                return "一级"
            } else if (yearType == "2") {
                return "二级"
            } else if (yearType == "3") {
                return "三级"
            } else if (yearType == "4") {
                return "四级"
            } else if (yearType == "99") {
                return "其它"
            }
            return yearType;
        }
    };
    window.dzdtAppConfig = dzdtAppConfig;
    if (typeof define === "function" && define.amd) {
        define("dzdtApp/dzdtAppConfig", [], function () {
            return dzdtAppConfig;
        });
    }
})();
